package com.meicloud.license.appl.vo;

import com.meicloud.license.domain.entity.License;

import java.util.List;

/**
 * 租户License状态
 *
 * @author zhanghui145
 * @date 2022/1/10 14:21
 * @since 1.0.0
 */
public class LicenseDto extends License {

    /**
     * 租户名
     */
    String name;

    /**
     * 系统名
     */
    String sysName;

    /**
     * 系统ip
     */
    String sysIp;

    /**
     * 是否有效
     */
    Boolean effective;

    /**
     * license时长，单位：自然天
     */
    Integer duration;

    /**
     * 系统版本
     */
    String sysVersion;

    /**
     * 模块(应用)，空则代表所有
     */
    List<String> apps;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSysName() {
        return sysName;
    }

    public void setSysName(String sysName) {
        this.sysName = sysName;
    }

    public String getSysIp() {
        return sysIp;
    }

    public void setSysIp(String sysIp) {
        this.sysIp = sysIp;
    }

    public Boolean getEffective() {
        return effective;
    }

    public void setEffective(Boolean effective) {
        this.effective = effective;
    }

    public Integer getDuration() {
        return duration;
    }

    public void setDuration(Integer duration) {
        this.duration = duration;
    }

    public String getSysVersion() {
        return sysVersion;
    }

    public void setSysVersion(String sysVersion) {
        this.sysVersion = sysVersion;
    }

    public List<String> getApps() {
        return apps;
    }

    public void setApps(List<String> apps) {
        this.apps = apps;
    }
}
